package io.renren.modules.store.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import io.renren.modules.store.dao.TStoreSellerDao;
import io.renren.modules.store.entity.TStoreSellerEntity;
import io.renren.modules.store.service.TStoreSellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;


@Service("tStoreSellerService")
public class TStoreSellerServiceImpl extends ServiceImpl<TStoreSellerDao, TStoreSellerEntity> implements TStoreSellerService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TStoreSellerEntity> page = this.page(
                new Query<TStoreSellerEntity>().getPage(params),
                new QueryWrapper<TStoreSellerEntity>()
        );

        return new PageUtils(page);
    }

    @Override
    public List<TStoreSellerEntity> listByUserId(Long userId) {

        return null;
    }

}